package com.rookie.data.generate.constant.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 时间范围注解
 * @author rookie
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface TimeRange {

    int year() default 0;

    int month() default 0;

    int day() default 0;

    int hour() default 0;

    int min() default 0;

    int second() default 0;
}
